| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | /** |
||
| 18 | gulp.task('browserify', () => { |
||
| 19 | browserify({ |
||
| 20 | entries: './src/strman.js', |
||
| 21 | transform: [babelify, es6ify, deglobalify], |
||
| 22 | |||
| 23 | // Generate a UMD bundle for the supplied export name. |
||
| 24 | // This bundle works with other module systems and sets the name |
||
| 25 | // given as a window global if no module system is found. |
||
| 26 | standalone: '_s', |
||
| 27 | |||
| 28 | // Enable source maps that allow you to debug your files |
||
| 29 | // separately. |
||
| 30 | debug: true |
||
| 31 | }) |
||
| 32 | .bundle() |
||
| 33 | .pipe(source('strman.js')) |
||
| 34 | .pipe(buffer()) |
||
| 35 | .pipe(uglify()) |
||
| 36 | .pipe(gulp.dest('dist')); |
||
| 37 | }); |
||
| 38 | |||
| 48 |